On Costco.com, no autofill dropdown shown up for the Card Number field
Categories
(Toolkit :: Form Autofill, defect, P3)
Tracking
()
People
(Reporter: Ovidiu, Unassigned)
References
(Depends on 1 open bug, Blocks 3 open bugs)
Details
(Whiteboard: [cc-autofill-reserve])
Attachments
(2 files)
Reporter | ||
Updated•7 years ago
|
Comment 1•7 years ago
|
||
Comment 2•7 years ago
|
||
Comment 3•7 years ago
|
||
Comment 4•7 years ago
|
||
Updated•7 years ago
|
Updated•7 years ago
|
![]() |
||
Updated•5 years ago
|
Comment 5•5 years ago
|
||
Tested on latest Nightly 79.0a1 (2020-06-03) on Windows 10 and MacOS 10.13 with the following results on both the checkout payment form and account payment methods:
- No dropdown in the Card Number field.
- Autofill dropdown is now displayed for the Cardholder Name
- The dropdown is dismissed accidentally when hovering any item in the dropdown in the Expiration Date or the Cardholder Name field.
Editing bug summary to reflect the actual behavior. Attaching recording for reference.
Comment 6•5 years ago
|
||
![]() |
||
Updated•5 years ago
|
![]() |
||
Updated•5 years ago
|
Updated•5 years ago
|
Updated•5 years ago
|
Updated•5 years ago
|
Comment hidden (obsolete) |
Comment 8•5 years ago
|
||
Oh, wow -- it's even stranger than that. Costco puts the credit card number -- and only the number -- off in its own frame, with a source of something like https://na.accpg.accertify.net/form/version/39/merchant/COST-BC0847/role/number/inputField.do?debug=false&cacheToken=
<numbers>. This frame contains some minified script (https://na.accpg.accertify.net/form/version/39/fieldsInternal.js?debug=false) that apparently captures the value being entered and conveys it to the parent document. While it's almost certainly possible to work around this behavior, it's not going to be trivial, and it's almost certainly going to be a one-off fix that is hyper-specific to Costco's website.
This seems like the kind of case that would be better served by having someone from the web evangelist team contacting Costco rather than sinking substantial engineering resources into hacking around on our end.
Comment 9•5 years ago
|
||
I'm currently looking at the feasibility of grafting child frames into their containing <form> elements if they do not, themselves, contain <forms>, which would (I think) address not just Costco, but this entire pattern (should it appear elsewhere).
Comment 10•5 years ago
|
||
Comment 11•5 years ago
|
||
I've attached a WIP proof-of-concept patch that handles the FormLikeFactory changes necessary to implement the <iframe> inclusion described above. The FormAutofillHeuristics still needs to be adjusted to properly assign fields inside an <iframe>. Also, this current patch only works in a pre-fission world. It will need to be updated to handle fission before it lands.
The plan is to back-burner this work until and unless we find other important payment forms that show this same pattern.
![]() |
||
Updated•5 years ago
|
Updated•5 years ago
|
![]() |
||
Updated•5 years ago
|
Updated•3 years ago
|
Comment 12•2 years ago
|
||
I can't seem to reproduce this bug anymore. Tested in Beta v116.0b5 on Windows 10 x32.
Description
•